Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix autoincrement #7247

Closed
wants to merge 1 commit into from
Closed

fix autoincrement #7247

wants to merge 1 commit into from

Conversation

mimicode
Copy link

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

对于int/uint类型的 主键判断为自增(无论键名是否为id)都不符合实际情况

User Case Description

对于int/uint类型的 主键判断为自增(无论键名是否为id)都不符合实际情况

@jinzhu
Copy link
Member

jinzhu commented Nov 14, 2024

you customize it with gorm tag.

@jinzhu jinzhu closed this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants